<div class="container">
        <div class="row">
            <div class="col-md-4 col-md-offset-4">
                <div class="login-panel panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">Zaloguj się do EDI</h3>
                    </div>
                    <div class="panel-body">
                        <form role="form" ng-submit="loginUser(user)" ng-controller="LoginCtrl">
                            <fieldset>
                                <div class="form-group">
                                    <input class="form-control" placeholder="E-mail" name="email" type="text" required autofocus ng-model="user.username">
                                </div>
                                <div class="form-group">
                                    <input class="form-control" placeholder="Hasło" name="password" type="password" value="" required ng-model="user.passwordHash">
                                </div>
                               
                                    <input type="submit" class="btn btn-lg btn-success btn-block" value="Zaloguj"/>
<!--                                    <div ng-if="message.showLoginError" class="alert alert-danger" role="alert"><span class="glyphicon glyphicon-minus-sign"></span> Login i hasło nie pasują do siebie</div>-->
                                    <div class="alert alert-error" ng-show="error">{{errorMessage}}</div>
                            </fieldset>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>